package edu.zju.gis.dbfg.model.io;

import java.io.FileOutputStream;

/**
 * @author Hu
 * @date 2019/8/30
 * 文件操作 Helper
 **/
public abstract class FileHelper {

  protected String type;

  public abstract FileOutputStream getFileStream(String path);

  public abstract boolean remove(String path);

  public abstract boolean removeDir(String path);

  public abstract boolean checkExists(String path);

  public abstract boolean createDir(String path);

  public abstract boolean createFile(String path);

  public abstract boolean list(String path);

}
